import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);

export default new VueRouter({
  mode: "history",
  base: window.__POWERED_BY_QIANKUN__ ? "/vue2/" : "/",
  routes: [
    {
      path: "/trademark",
      component: () => import("../views/trademark/index.vue"),
      name: "Trademark",
    },
    {
      path: "/attr",
      component: () => import("../views/attr/index.vue"),
      name: "Attr",
    },
  ],
});
